package top.infopub.job.bpa.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.job.bpa.dao.ContractExtDao;
import top.infopub.model.bpa.ContractExt;
import top.infopub.job.bpa.service.ContractExtService;

@Service
public class ContractExtServiceImpl extends GenericServiceImpl<ContractExt, String> implements
		ContractExtService {

	@Autowired
	private ContractExtDao contractExtDao;
	
	@Override
	public GenericDao<ContractExt, String> getDao() {
		return contractExtDao;
	}

    @Override
    public int count(String proCode) {
        return contractExtDao.count(proCode);
    }

}